package com.skywolf.chem.article.mapper;

import com.skywolf.chem.article.entity.CollectionInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skywolf.chem.usercenterapi.entity.SuggestInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户收藏表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2020-06-09
 */
@Mapper
public interface CollectionInfoMapper extends BaseMapper<CollectionInfo> {

    List<CollectionInfo> getCollectionPageList(@Param("uid") Long uid, @Param("startNum") Long startNum, @Param("endNum") Long endNum);

    Integer getCollectionPageCount(@Param("uid") Long uid);

}
